.Nav{
    display: flex;
    justify-content: left;
    margin-top: 50px;
    margin-bottom: 30px;
}
.n3{
  color: white;
  text-decoration: none;
}
.Nav li{
    margin-left: 100px;
    border: red 2px solid;
    border-radius: 20px;
    padding: 5px 10px;
    transition: .3s ease-in-out;
    display: inline;
}
.n1,.n2,.n4{
    color: red;
    text-decoration: none;
}
.Nav li:hover{
    background-color: red;
    color: white;
    scale:1.2;
    box-shadow: red 0 0 20px;
    transform:translateY(-3px);

}
.N3{
  background-color: red;
  color: white;
  scale:1.2;
  box-shadow: red 0 0 20px;
  transform:translateY(-3px);

}
.Nav li a:hover{
    color: white;
}
.d2{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1000px;
}
.d2 h2{
    font-size: 32px;
    margin-bottom: 10px;
}
.d2 p{
    font-size: 22px;
    margin-right: 30px;
}
.d3{
  align-items: center;
  display: flex;
  flex-direction: row;
  margin:0px 50px;
  width: 1000px;
  justify-content: space-between;

}
.big{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.d4{
    text-align: center;
    width: 1000px;
    display: flex;
    flex-direction: column;
}
.d4 h3{
    font-size: 32px;
    margin-bottom: 10px;
    display: flex;
}
.d4 p{
  text-align: justify;
  margin-bottom: 30px;
}
.d5{
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    width: 1000px;
    height: 100px;
}
.d5-1{
  border:2px red solid; 
  width: 150px;
  height: 100px;
  transition: .3s ease-in-out;
  display:flex;
  justify-content:space-around;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
 text-align: center;
}
.d5-1:hover{
  box-shadow: red 0 0 10px;
  scale: 1.10;
  background-color: rgba(255, 0, 0, 0.675);
  color: white;
}
body {
  margin: 0;
  padding: 0;
}

.d1 {
  position: relative;
  max-width: 500px;
  margin: auto;
}

.mySlides {
  float: right;
    margin-right: 100px;
    width: 400px;
    height: 300px;
    display: flex;
    align-items: center;
    margin-top: 100px;
  
}

img {
  vertical-align: middle;
}

/* Add animation for fade effect */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Dots/bullets/indicators */
.dots-container {
  text-align: center;
  padding: 10px;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  transition: background-color 0.6s ease;
  float: right;
}

.active, .dot:hover {
  background-color: #717171;
}
.para{
  height: 200px;
  width: 80%;
  padding-left: 100px;
}
@media(max-width:1000px){
  .d3{
    flex-direction: column;
  }
  .d4{
    align-items: center;
  }
  .d4 p{
    width: 500px;
    
  }
  .d5{
    width: 500px;
    display: grid;
    grid-template-columns: auto auto auto ;
  }
  .d5-1{
    margin:5px;
  }
    
}